package cc.ycws.core.service;

import cc.ycws.core.dao.LocationMapper;
import cc.ycws.core.domain.Location;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LocationService
{
  @Resource
  LocationMapper locationMapper;

  public List<Location> showAll()
  {
    return this.locationMapper.showAll();
  }

  public Location moeny(String address)
  {
    return this.locationMapper.moeny(address);
  }
}
